package zengjin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import zengjin.common.PageResponse;
import zengjin.model.dto.news.AddNewRequest;
import zengjin.model.dto.news.PageNewRequest;
import zengjin.model.en.New;
import zengjin.model.vo.news.PageNewVO;

/**
* @author 19324
* @description 针对表【new】的数据库操作Service
* @createDate 2025-02-26 11:31:05
*/
@Service
public interface NewService extends IService<New> {

    Boolean addNew(AddNewRequest addNewRequest);

    PageResponse<PageNewVO> pageNew(PageNewRequest pageNewRequest);
}
